SDEF
//
// SINED section removed since we have avriations now.
//

//
// The file declaration section
//
path models/tech
scale 1.0
tech_freeport.sbm
tech_freeport01.tga
tech_freeport_dam.tga

//
// Declare the animation types and files
//
beg1	beg1_drop.sam
beg2	beg2_down.sam
begdeath1	beg_death.sam
begdeath2	beg_death2.sam

crawl1	crawl1.sam
crawlpain1	crawl1_pain.sam
crawldeath1	crawl1_death.sam
crawlbegin1	crawl_low_begin.sam
crawllowdeath1	crawl_low_death.sam
crawling1	crawl_low_loop.sam

death1  death1.sam
death2  death2.sam
death3  death3.sam
death4  death4.sam
death5  death5_backshot.sam

hidedrop1       hide_drop.sam
hiding1         hiding.sam
crouch_down		 hiding.sam
hidingdeath1    hiding1_death.sam
hidingdeath2    hiding2_death.sam
hitalarm1       hit_alarm_high.sam
hitalarm2       hit_alarm_mid.sam

idle1           idle_watch.sam
panicked1       idle_panicked.sam

usekeyboard1    idle_work_keys.sam
usepanel1       idle_work_panel.sam

pain1           pain_block.sam
pain2           pain_head_step.sam
pain3           pain_stomach.sam

hidepain1       hiding1_pain.sam
hidepain2       hiding2_pain.sam

jump1           jumpover.sam
jump2           jumpover2.sam
jump3           jumpup.sam
punch1          punch.sam

run1            run2.sam

sit1            sit1.sam
sitdeath1       sit1_death.sam
sitpain1        sit1_pain_stand.sam
sitstand1       sit1_stand.sam

walk1           walk.sam
sneakwalk1      walk_sneak.sam
wpain1          walkpain.sam
wpain2          walkpain2.sam

//
// Define model group areas
//
id 5 group head flesh 
group head damage 4.0
id 20 group torso_upper fabric 
group torso_upper damage 1.0
id 30 group torso_lower fabric 
group torso_lower damage 1.0
id 45 group leg_left_upper fabric 
group leg_left_upper damage .8
id 50 group leg_left_lower fabric 
group leg_left_lower damage 0.6
id 65 group leg_right_upper fabric 
group leg_right_upper damage .8
id 70 group leg_right_lower fabric 
group leg_right_lower damage 0.6
id 85 group arm_left_upper fabric 
group arm_left_upper damage 0.8
id 90 group arm_left_lower fabric 
group arm_left_lower damage 0.6
id 105 group arm_right_upper fabric 
group arm_right_upper damage 0.8
id 110 group arm_right_lower fabric 
group arm_right_lower damage 0.6
id 200 group arm_left_lower bone gun 0 0 0 flesh

//
// The initialization section
//
!init:
server classname actor
server setsize "-16 -16 0" "16 16 80"
server crouchsize "-32 -20 0" "32 20 40"
server script global/neutral.scr
server health 30

//
// Define the sounds used by the character
//
client aliascache snd_pain1         "monsters/technician/tech1/pain1.wav" 1
client aliascache snd_pain2         "monsters/technician/tech1/pain2.wav" 1
client aliascache snd_pain3         "monsters/technician/tech1/pain3.wav" 1
client aliascache snd_pain4         "monsters/technician/tech1/pain4.wav" 1
client aliascache snd_death1        "monsters/technician/tech1/deth1.wav" 1
client aliascache snd_death2        "monsters/technician/tech1/deth2.wav" 1
client aliascache snd_death3        "monsters/technician/tech1/deth3.wav" 1
server aliascache snd_idle1         "monsters/technician/tech1/idle1.wav" 1
server aliascache snd_idle2         "monsters/technician/tech1/idle2.wav" 1
server aliascache snd_idle3         "monsters/technician/tech1/idle3.wav" 1
server aliascache snd_idle4         "monsters/technician/tech1/idle4.wav" 1
server aliascache snd_idle5         "monsters/technician/tech1/idle5.wav" 1
server aliascache snd_beg1  "monsters/technician/tech1/beg1.wav" 1
server aliascache snd_beg2  "monsters/technician/tech1/beg2.wav" 1
server aliascache snd_beg3  "monsters/technician/tech1/beg3.wav" 1
server aliascache snd_panic1        "monsters/technician/tech1/panic1.wav" 1
server aliascache snd_panic2        "monsters/technician/tech1/panic2.wav" 1
server aliascache snd_panic3        "monsters/technician/tech1/panic3.wav" 1
server aliascache snd_sightenemy1        "monsters/technician/tech1/site1.wav" 1
server aliascache snd_sightenemy2		"monsters/technician/tech1/site2.wav" 1
server aliascache snd_sightenemy3        "monsters/technician/tech1/site3.wav" 1
server aliascache snd_sightenemy4        "monsters/technician/tech1/site4.wav" 1
server aliascache snd_sightenemy5        "monsters/technician/tech1/site5.wav" 1
client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
client aliascache snd_whoosh1 "weapons/punch/whsh1.wav" 1
client aliascache snd_whoosh2 "weapons/punch/whsh2.wav" 1
client aliascache snd_crawlpain1 "monsters/technician/crawlpain.wav" 1
client aliascache snd_gasp1 "monsters/technician/runbrth1.wav" 1
client aliascache snd_gasp2 "monsters/technician/runbrth2.wav" 1
client aliascache snd_gasp3 "monsters/technician/runbrth3.wav" 1

client aliascache snd_beep1 "environment/computer/beeps/cmpbp2.wav" 4
client aliascache snd_beep2 "environment/computer/beeps/affirm4.wav" 1
client aliascache snd_beep3 "environment/computer/beeps/trek7.wav" 1
client aliascache snd_beep4 "environment/computer/compkey/Cmpkyht.wav" 8

client aliascache snd_keys1 "environment/computer/compkey/Cmptrkys.wav" 1
client aliascache snd_keys2 "environment/computer/compkey/Cmptrky1.wav" 1
client aliascache snd_keys3 "misc/null.wav" 4

//
// The main section
//
!main:
//
// Define the clinet/server animation references
//
server death1 first deathsound
client death1 first randomsound snd_death 1
client death1 5 randomsound snd_kneefall 1
client death1 14 randomsound snd_bodyfall 1
server death2 first deathsound
client death2 first randomsound snd_death 1
client death2 6 randomsound snd_partfall 1
client death2 10 randomsound snd_bodyfall 1
server death3 first deathsound
client death3 first randomsound snd_death 1
client death3 13 randomsound snd_partfall 1
client death3 22 randomsound snd_kneefall 1
client death3 24 randomsound snd_bodyfall 1
client death3 28 randomsound snd_kneefall 1
server death4 first deathsound
client death4 first randomsound snd_death 1
client death4 15 randomsound snd_kneefall 1
client death4 19 randomsound snd_bodyfall 1
client death4 24 randomsound snd_kneefall 1
server death5 first deathsound
client death5 first randomsound snd_death 1
client death5 5 randomsound snd_bodyfall 1
client death5 13 randomsound snd_kneefall 1

server begdeath1 first deathsound
client begdeath1 first randomsound snd_death 1
client begdeath1 4 randomsound snd_bodyfall 1
server begdeath2 first deathsound
client begdeath2 first randomsound snd_death 1
client begdeath2 9 randomsound snd_partfall 1

server begdeath1 first deathsound
client crawldeath1 first randomsound snd_death 1
client crawldeath1 4 randomsound snd_bodyfall 1

server crawllowdeath1 first deathsound
client crawllowdeath1 first randomsound snd_death 1
client crawllowdeath1 3 randomsound snd_partfall 1

server sitdeath1 first deathsound
client sitdeath1 first randomsound snd_death 1
client sitdeath1 3 randomsound snd_kneefall 1

server hidingdeath1 first deathsound
client hidingdeath1 first randomsound snd_death 1
client hidingdeath1 7 randomsound snd_partfall 1
server hidingdeath2 first deathsound
client hidingdeath2 first randomsound snd_death 1
client hidingdeath2 1 randomsound snd_bodyfall 1

server pain1 first painsound
client pain1 first randomsound snd_pain 1
server pain2 first painsound
client pain2 first randomsound snd_pain 1
server pain3 first painsound
client pain3 first randomsound snd_pain 1
server wpain1 first painsound
client wpain1 first randomsound snd_pain 1
server wpain2 first painsound
client wpain2 first randomsound snd_pain 1
server crawlpain1  first painsound
client crawlpain1 first randomsound snd_pain 1
server sitpain1 first painsound
client sitpain1 first randomsound snd_pain 1
server hidepain1 first painsound
client hidepain1 first randomsound snd_pain 1
server hidepain2 first painsound
client hidepain2 first randomsound snd_pain 1

server beg1 first movementsound
client beg1 last randomsound snd_kneefall1 1
client hidedrop1 3 randomsound snd_kneefall 1

client jump1 7 randomsound snd_kneefall 1
client jump2 11 randomsound snd_partfall 1
client jump3 6 randomsound snd_kneefall 1

client usepanel1 2 randomsound snd_beep .6 2
client usepanel1 6 randomsound snd_beep .6 2
client usepanel1 14 randomsound snd_beep .6 2
client usepanel1 18 randomsound snd_beep .6 2
client usepanel1 19 randomsound snd_beep .6 2
client usepanel1 27 randomsound snd_beep .6 2
client usepanel1 31 randomsound snd_beep .6 2

client usekeyboard1 first randomsound snd_keys .7 2
client usekeyboard1 6 randomsound snd_keys .7 2

server punch1 first movementsound
client punch1 8 randomsound snd_whoosh 1

client crawling1 first randomsound snd_crawlpain .7

server run1 2 movementsound
client run1 2 footstep
server run1 5 movementsound
client run1 5 footstep

server walk1 1 movementsound
client walk1 1 footstep
server walk1 6 movementsound
client walk1 6 footstep
server walk1 11 movementsound
client walk1 11 footstep
server walk1 16 movementsound
client walk1 16 footstep
server walk1 21 movementsound
client walk1 21 footstep
server walk1 26 movementsound
client walk1 26 footstep

server wpain1 1 movementsound
client wpain1 1 footstep
server wpain1 6 movementsound
client wpain1 6 footstep
server wpain1 11 movementsound
client wpain1 11 footstep
server wpain1 16 movementsound
client wpain1 16 footstep
server wpain1 21 movementsound
client wpain1 21 footstep
server wpain1 26 movementsound
client wpain1 26 footstep

server wpain2 6 movementsound
client wpain2 6 footstep
server wpain2 15 movementsound
client wpain2 15 footstep
server wpain2 54 movementsound
client wpain2 54 footstep
server wpain2 61 movementsound
client wpain2 61 footstep


